package com.dq.service.section;


import com.dq.domain.org.Org;
import com.dq.exception.customException.AdminException;
import com.dq.controller.in.section.SysSectionQuery;
import com.dq.vo.Vo;
import com.dq.domain.sys.section.SysSection;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author cf
 */
public interface SysSectionService {
    public List<Long> listByLng(BigDecimal lat, BigDecimal lng);

    public SysSection getNumberOne()  throws AdminException;

    public SysSection save(SysSection section)  throws AdminException;

    public SysSection update(SysSection section)  throws AdminException;

    /**
     * 组织部门/门店山删除
     */
    public void delete(Long id) throws AdminException;

    /**
     * 所有组织部门-树形列表
     */
    public Vo<SysSection.Vo> listTree(SysSectionQuery sectionQuery) throws AdminException;

}
